package com.dataextend.entity;


import lombok.Data;

@Data
public class RoleMenusEntity {
    private Long id;
    private Long roleId;
    private Long menusId;
    private RoleEntity roleEntity;
    private MenusEntity menusEntity;


    public Long getId() {
        return id;
    }

    public RoleMenusEntity setId(Long id) {
        this.id = id;
        return this;
    }

    public Long getRoleId() {
        return roleId;
    }

    public RoleMenusEntity setRoleId(Long roleId) {
        this.roleId = roleId;
        return this;
    }

    public Long getMenusId() {
        return menusId;
    }

    public RoleMenusEntity setMenusId(Long menusId) {
        this.menusId = menusId;
        return this;
    }

    public RoleEntity getRoleEntity() {
        return roleEntity;
    }

    public RoleMenusEntity setRoleEntity(RoleEntity roleEntity) {
        this.roleEntity = roleEntity;
        return this;
    }

    public MenusEntity getMenusEntity() {
        return menusEntity;
    }

    public RoleMenusEntity setMenusEntity(MenusEntity menusEntity) {
        this.menusEntity = menusEntity;
        return this;
    }
}
